import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner num = new Scanner(System.in);

        int date = a % 100;
        int month = (a / 100) %100;
        int year = a / 10000;

        System.out.println("year="+year);
        System.out.println("month="+month);
        System.out.println("date="+date);
    }
}
